/*
 * @Author: ZhaoZhiqi
 * @Date: 2022-09-07 14:49:29
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2022-09-09 17:07:31
 * @Description: 数据统计
 * @FilePath: \tuanfeng-mini\src\api\stat.js
 */
import request from "./request";

/**
 * @description: 进入首页pv 
 * @return {*}
 */
export function miniPVAPI() {
    return request(`mini/intoMiniProg`, 'GET', {})
}

/**
 * @description: 进入虚拟大厅
 * @return {*}
 */
export function hallPVAPI() {
    return request(`mini/intoHall`, 'GET', {})
}

/**
 * @description: 获取统计数据
 * @return {*}
 */
export function getStatAPI() {
    return request(`mini/getPV`, 'GET', {})
}

/**
 * @description: 获取政务驾驶舱权限 
 * @return {*}
 */
 export function getStatRoleAPI() {
    return request(`app/getMiniAllow`, 'GET', {})
}